package chapter03;

public class Table {
    private String color;
    private String material;

    public Table(String color, String material) {
        this.color = color;
        this.material = material;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }
    public void introduce(){
        System.out.println(this.getColor());
        System.out.println(this.getMaterial());
    }
}
